<div class="gap"></div>
<div class="gap"></div>
<?php
$this->menu = array(
    array('label' => Yii::t('app', 'Update') . ' ' . $model->label(), 'url' => array('update', 'id' => $model->id)),
    array('label' => Yii::t('app', 'Manage') . ' ' . $model->label(2), 'url' => array('admin')),
);
?>
<section class="form-step1">
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <div class="panel panel-primary">
                    <div class="panel-heading">
                        <h3 class="panel-title"><?php echo Yii::t('app', 'View') . ' ' . GxHtml::encode($model->label()); ?></h3>
                    </div>
                    <div class="panel-body">
                        <div class="col-lg-8">

                           <?php
$this->widget('zii.widgets.CDetailView', array(
    'data' => $model,
    'attributes' => array(
        'page_name',
        array(
            'name' => 'parent_id',
            'htmlOptions' => array('class' => 'gridmaxwidth', 'style' => 'width: 15px !important'),
            'value' => $model->getCategoryname($model->parent_id),
        ),
        array(
            'name' => 'status',
            'htmlOptions' => array('class' => 'gridmaxwidth', 'style' => 'width: 15px !important'),
            'value' => ($model->status != 0) ? 'Active' : 'De-Active',
        ),
    ),
));
?>

                            <div class="gap"></div>
                            <div class="gap"></div>  

                        </div>
                        <div class="col-lg-2"></div>


                    </div>
                </div>
            </div>
        </div>

    </div>
</section>
<div class="gap"></div>
<div class="gap"></div>
